package edu.je.prs.vo;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Objects;

/**
 * @Description:
 * @author: Anhlaidh
 * @date: 2021-04-22 21:04
 */
@Component
@Data
public class ExperienceVo {
    String label;
    String type;
    int value;


    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ExperienceVo that = (ExperienceVo) o;
        return Objects.equals(label, that.label) && Objects.equals(type, that.type);
    }

    @Override
    public int hashCode() {
        return Objects.hash(label, type);
    }
}
